package calao.util;

public class LogLevel 
{

	final int severity;
	final String id;
	
	LogLevel(int severity, String id)
	{
		this.severity = severity;
		this.id = id;
	}
	
	/** Gets the identifier of this log level.
	 * 
	 * @return A 3-characters identifier.
	 */
	public String getId()
	{
		return id;
	}
	
	/** Gets the severity of this level.
	 * 
	 * @return A strictly positive integer.
	 */
	public int getSeverity()
	{
		return severity;
	}
	
}
